home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 028a / zip10ex.zip / MAKEVMS.COM < prev    next >
Text File  |  1991-10-03  |  2KB  |  64 lines

  1. $ !
  2. $ !     "Makefile" for VMS versions of Zip, ZipNote,
  3. $ !      ZipSplit, Ship and UnShip (stolen from Unzip)
  4. $ !
  5. $ set verify    ! like "echo on", eh?
  6. $ !
  7. $ !------------------------------- Zip section --------------------------------
  8. $ !
  9. $ cc /def=EXPORT zip,zipfile,zipup,fileio,util,tempf,shrink,globals,implode,im_lmat,im_ctree,im_bits
  10. $ link zip,zipfile,zipup,fileio,util,tempf,shrink,globals,implode,im_lmat,im_ctree,im_bits,sys$input:/opt
  11. sys$share:vaxcrtl.exe/shareable
  12. $ !
  13. $ ! If you have problems with implode, compile with /define=noimplode
  14. $ ! and remove all the im* files from the above lines.
  15. $ !
  16. $ !-------------------------- Zip utilities section ---------------------------
  17. $ !
  18. $ ren zipfile.c zipfile_.c;*
  19. $ ren zipup.c zipup_.c;*
  20. $ ren fileio.c fileio_.c;*
  21. $ ren util.c util_.c;*
  22. $ cc /def=EXPORT zipnote, zipsplit
  23. $ cc /def=EXPORT /def=UTIL zipfile_, zipup_, fileio_, util_
  24. $ ren zipfile_.c zipfile.c;*
  25. $ ren zipup_.c zipup.c;*
  26. $ ren fileio_.c fileio.c;*
  27. $ ren util_.c util.c;*
  28. $ link zipnote, zipfile_, zipup_, fileio_, globals, sys$input:/opt
  29. sys$share:vaxcrtl.exe/shareable
  30. $ link zipsplit, zipfile_, zipup_, fileio_, globals, sys$input:/opt
  31. sys$share:vaxcrtl.exe/shareable
  32. $ !
  33. $ !--------------------------- Ship/UnShip section ----------------------------
  34. $ !
  35. $ cc ship
  36. $ link ship,sys$input:/opt
  37. sys$share:vaxcrtl.exe/shareable
  38. $ !
  39. $ ! Create a hard link.  (To remove both files, delete the copy FIRST, then
  40. $ ! the original.  Otherwise, if original deleted first [copy says "no such
  41. $ ! file"], must use "set file/remove unship.exe;#" to get rid of the copy.
  42. $ ! Unlike in Unix, deleting the original ALWAYS destroys the data--but not
  43. $ ! the directory entry of the copy.)  Using a hard link saves disk space, by
  44. $ ! the way.  Note, however, that copying a hard link copies the data, not
  45. $ ! just the link.  Therefore, set up the link in the directory in which the
  46. $ ! executable is to reside, or else rename (move) the executables into the
  47. $ ! directory.
  48. $ !
  49. $ set file/enter=unship.exe ship.exe
  50. $ !
  51. $ !----------------------------- Symbols section ------------------------------
  52. $ !
  53. $ ! Set up symbols for the various executables.  Edit the example below,
  54. $ ! changing "pc" to "disk:[directory]" as appropriate, and uncomment
  55. $ ! (remove the exclamation marks).
  56. $ !
  57. $ ! zip        == "$pc:zip.exe"
  58. $ ! zipnote    == "$pc:zipnote.exe"
  59. $ ! zipsplit    == "$pc:zipsplit.exe"
  60. $ ! ship        == "$pc:ship.exe"
  61. $ ! unship    == "$pc:unship.exe"
  62. $ !
  63. $ set noverify
  64.